Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define a simpler row-major entity encoding for saves #341

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

Ralith
Copy link
Owner

@Ralith Ralith commented Jan 9, 2024

Nodes are unlikely to ever have enough entities in them for column-major representation to be worth the trouble to implement. As a bonus, this representation should be compatible with postcard.

We can easily switch this up again in the future if needed thanks to protobuf schema evolution.

@Ralith Ralith force-pushed the simplify-saved-entities branch 3 times, most recently from 20b4474 to 34a97f9 Compare January 9, 2024 07:23
@Ralith Ralith requested a review from patowen January 9, 2024 07:23
server/src/postcard_helpers.rs Outdated Show resolved Hide resolved
save/src/protos.proto Show resolved Hide resolved
save/src/protos.proto Show resolved Hide resolved
server/src/postcard_helpers.rs Show resolved Hide resolved
server/src/sim.rs Outdated Show resolved Hide resolved
Nodes are unlikely to ever have enough entities in them for
column-major representation to be worth the trouble to implement. As a
bonus, this representation should be compatible with postcard.

We can easily switch this up again in the future if needed thanks to
protobuf schema evolution.
@Ralith Ralith force-pushed the simplify-saved-entities branch from 34a97f9 to 866b3e5 Compare January 10, 2024 08:44
@Ralith Ralith enabled auto-merge (rebase) January 10, 2024 08:48
@Ralith Ralith merged commit e60d4ce into master Jan 10, 2024
6 checks passed
@Ralith Ralith deleted the simplify-saved-entities branch January 10, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants